Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Retrieval of Historical Data for Equities with Different Resolutions #8538

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JosueNina
Copy link
Contributor

Description

Fixed issue where equities with Resolution.Hour or Resolution.Daily could not retrieve quote data in historical queries with a supported resolution. The update ensures that requesting history with minute resolution returns both trade and quote data, even if the original equity was added with a resolution that does not support quote data (e.g., Hour or Daily).

Related Issue

Closes #8473

Motivation and Context

Equities with Resolution.Hour or Resolution.Daily do not support Quote data, but when querying historical data with a resolution that supports quote data, both Trades and Quote data should be returned.

Requires Documentation Change

No.

How Has This Been Tested?

Tested using a unit test that verifies both Trades and Quote data are returned for equities with Resolution.Hour or Resolution.Daily when querying for historical data with a supported resolution

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Refactor (non-breaking change which improves implementation)
  • Performance (non-breaking change which improves performance. Please add associated performance test and results)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Non-functional change (xml comments/documentation/etc)

Checklist:

  • My code follows the code style of this project.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • My branch follows the naming convention bug-<issue#>-<description> or feature-<issue#>-<description>

- Fixed retrieval of minute-resolution quote data for hour-resolution
  equity
- Ensured correct retrieval of data regardless of equity resolution
- Created a unit test to verify functionality
@JosueNina JosueNina force-pushed the bug-8473-no-minute-data-hour-subscription branch from 6eb4040 to 080e69c Compare January 15, 2025 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't Get Minute-Resolution Quote Data History for Hour-Resolution Asset Subscription
1 participant